package com.techsoul.module.basic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.techsoul.common.core.pojo.vo.UserVo;
import com.techsoul.module.basic.pojo.param.SuspiciousItemSaveParam;
import com.techsoul.module.basic.pojo.param.SuspiciousItemSearchParam;
import com.techsoul.module.basic.pojo.vo.SuspiciousItemVo;
import com.techsoul.module.system.pojo.entity.User;

import java.util.List;

/**
 * 可疑问题 Service接口
 * 
 * @author liuen
 * @date 2023-07-10
 */
public interface ISuspiciousItemService {

    /**
     * 新增
     * @param params
     * @return
     */
    String insert(SuspiciousItemSaveParam params);
    String  handleConfirmProcess(SuspiciousItemSaveParam suspiciousItemSaveParam, UserVo User);

    /**
     * 删除
     * @param id
     * @return
     */
    Integer delete(String id);

    /**
     * 批量删除
     * @param idList
     */
    Integer batchDelete(List<String> idList);

    /**
     * 修改
     * @param params
     * @return
     */
    Integer update(SuspiciousItemSaveParam params);

    /**
     * 详情
     * @param id
     * @return
     */
    SuspiciousItemVo findById(String id);

    /**
     * 列表
     * @param params
     * @return
     */
    List<SuspiciousItemVo> findAll(SuspiciousItemSearchParam params);

    /**
     * 列表-分页
     * @param params
     * @param current
     * @param pageSize
     * @return
     */
    IPage<SuspiciousItemVo> findAll(SuspiciousItemSearchParam params, Integer current, Integer pageSize);

}
